package com.mlh.aop.xml;

import org.aspectj.lang.ProceedingJoinPoint;

public class CalAspect {
    public void around(ProceedingJoinPoint pj) {
        Object res=null;
        System.out.println("开始时间："+System.currentTimeMillis());
        try{
            pj.proceed();
        } catch (Throwable e) {
            throw new RuntimeException(e);
        }
        System.out.println("结束时间："+System.currentTimeMillis());
    }
}
